gl: Make debug spew more complete
authorMatthias Clasen <mclasen@redhat.com>
Fri, 25 Sep 2020 19:52:15 +0000 (15:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 26 Sep 2020 00:42:01 +0000 (20:42 -0400)
List GL_EXT_unpack_subimage among the extensions
we check for.

gdk/gdkglcontext.c

index 7f544dc00395e091a9a7fca4db9f1f15d246454f..7a7ed9d96fd0f72c445dd07364555a484f423bad 100644 (file)
@@ -1067,6 +1067,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
                        " - GL_ARB_texture_non_power_of_two: %s\n"
                        " - GL_ARB_texture_rectangle: %s\n"
                        " - GL_KHR_debug: %s\n"
+                       " - GL_EXT_unpack_subimage: %s\n"
                        "* Using texture rectangle: %s",
                        priv->use_es ? "OpenGL ES" : "OpenGL",
                        priv->gl_version / 10, priv->gl_version % 10,
@@ -1075,6 +1076,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
                        has_npot ? "yes" : "no",
                        has_texture_rectangle ? "yes" : "no",
                        priv->has_khr_debug ? "yes" : "no",
+                       priv->has_unpack_subimage ? "yes" : "no",
                        priv->use_texture_rectangle ? "yes" : "no"));
 
   priv->extensions_checked = TRUE;